package com.justgame.project.generator.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum JoinType {
    JOIN("JOIN","join"),
    INNER_JOIN("INNER JOIN","innerJoin"),
    LEFT_JOIN("LEFT JOIN","leftJoin"),
    RIGHT_JOIN("RIGHT JOIN","rightJoin");

    /**
     * SQL中表关联查询关键字
     */
    private final String tableJoinSqlStr;

    /**
     * Wrapper中调用表关联方法名
     */
    private final String wrapperMethodName;
}
